<template>
	<view>
		父亲的值：{{v}}
		<Son :v="v" @change="change"></Son>
	</view>
</template>
<script setup>
	import { ref, defineComponent } from 'vue'
	import Son from './components/s.vue'
	const v = ref(0);
	function change(){
		v.value++;
	}
</script>

<style scoped>

</style>
